<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Thymeleaf邮件模板</title>
</head>
<body>
<table  border="12">
    <tr>
        <td>name1</td>
        <td th:text="${name1}"></td>
    </tr>
    <tr>
        <td>name2</td>
        <td th:text="${name2}"></td>
    </tr>
    <tr>
        <td>name3</td>
        <td th:text="${name3}"></td>
    </tr>
</table>
<hr/>
您收到的验证码内容是
<h1 th:text="${name4}"></h1>
</body>
</html>